#ifndef __SERVER_H_
#define __SERVER_H_

#include "HttpServer.h"
#include "json.hpp"
#include "base64.h"


int user_register(const HttpContextPtr& ctx);
int user_login(const HttpContextPtr& ctx);

class Server
{
public:
    Server();
    ~Server();

private:

private:
    HttpService     m_router;
    hv::HttpServer  m_server;
};

#endif // __SERVER_H_